import React from 'react';
import Drag from 'drag';
import widgets from '../../widgets';

import { ISchema } from 'schema-render/index.d';

export const defaultSchema: ISchema = {
  type: 'page',
  path: 'body',
  body: [],
};

export default function () {
  return (
    <>
      <Drag schema={defaultSchema} widgets={widgets} />
    </>
  );
}
